/**
 * 
 */
package com.curso.sesion10;

import java.io.File;
import java.io.IOException;

/**
 * @author MATEUS
 *
 */
public class TestFileConstructors {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			File f1 = new File("E:\\Cesar\\CursoJava");
			File f2 = new File("E\\Cesar\\CursoJava", "E\\Cesar\\CursoJava\\JavaBasico\\");
			File f3 = new File(f1, "E\\Cesar\\CursoJava\\JavaBasico\\JavaBasico.zip");
			
			System.out.println("path for f1: "+f1.getCanonicalPath());
			System.out.println("path for f2: "+f2.getCanonicalPath());
			System.out.println("path for f3: "+f3.getCanonicalPath());
		} catch(IOException ioe) {
			ioe.printStackTrace();
		}
	}

}
